/* indent size: 2 */

module.exports = app => {
  const DataTypes = app.Sequelize;

  const Model = app.model.define('rechargerecord_type', {
    id: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true,
      autoIncrement: true,
    },
    rechargerecord_id: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    retpye_id: {
      type: DataTypes.STRING(64),
      allowNull: true,
    },
    state: {
      type: DataTypes.STRING(64),
      allowNull: true,
    },
    money_record_id: {
      type: DataTypes.STRING(64),
      allowNull: true,
    },
    bank_id: {
      type: DataTypes.STRING(64),
      allowNull: true,
    },
    platformfunds_type: {
      type: DataTypes.STRING(64),
      allowNull: true,
    },
    ioaccount_id: {
      type: DataTypes.STRING(64),
      allowNull: true,
    },
    audit_stateid: {
      type: DataTypes.STRING(255),
      allowNull: true,
    },
  }, {
    tableName: 'rechargerecord_type',
  });

  Model.associate = function() {

  };

  return Model;
};
